package com.cupk.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class Stage {
    public static final Integer AUTO_APPROVE_FORM = 1;
    public static final Integer MANUAL_APPROVE_FORM = 2;
    public static final Integer IMAGE_SIMILARITY_COMPARISON = 3;
    public static final Integer OCR_FIELD_CONTAINS = 4;
    public static final Integer OCR_FIELD_RECOGNITION = 5;
    public static final Integer MANUAL_SELECT_STUDENT_ID = 6;

    private Integer id;
    private Integer matchId;
    private Integer periodId;
    private String name;
    // 1.填写表单，自动通过
    // 2.填写表单，手动通过
    // 3.图片相似度比较
    // 4.OCR特定字段包含
    // 5.OCR特定字段识别（交易单号）
    // 6.手动选择学号
    private Integer rule;
    private String standard;
    private String attach;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;
}
